﻿/*
' DotNetNuke® - http://www.dotnetnuke.com
' Copyright (c) 2002-2006
' by Perpetual Motion Interactive Systems Inc. ( http://www.perpetualmotion.ca )
'
' Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 
' documentation files (the "Software"), to deal in the Software without restriction, including without limitation 
' the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and 
' to permit persons to whom the Software is furnished to do so, subject to the following conditions:
'
' The above copyright notice and this permission notice shall be included in all copies or substantial portions 
' of the Software.
'
' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 
' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 
' THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 
' CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
' DEALINGS IN THE SOFTWARE.
 */

using System;
using System.Configuration;
using System.Data;

namespace Triax.Modules.Department
{
    /// -----------------------------------------------------------------------------
    ///<summary>
    /// The Info class for the Department
    /// </summary>
    /// <remarks>
    /// </remarks>
    /// <history>
    /// </history>
    /// -----------------------------------------------------------------------------
    public class VuViecInfo
    {

        #region Private Members
        private int _ModuleId;
        private int _id;
        private int _Quy;
        private int _Nam;
        private int _Tuan;
        private int _Stt;
        private int _loaivuviec;
        private int _tenCN;
        private int _tongCT;
        private DateTime _ngayBaoCao;
        private string _tomTatNoiDung;
        private int _Chet_SQ;
        private int _chet_QNCN;
        private int _chet_CNVQP;
        private int _chet_HDLD;
        private int _chet_CTV;
        private int _chet_Dan;
        private int _biThuong_SQ;
        private int _biThuong_QNCN;
        private int _biThuong_CNVQP;
        private int _biThuong_HDLD;
        private int _biThuong_HDDV;
        private int _biThuong_CTV;
        private int _biThuong_CTV_Khac;
        private int _biThuong_Dan;
        private double _taiChinh;
        private int _taiSan_otoViettel;
        private int _taiSan_otoDanSu;
        private int _taiSan_Moto;
        private string _taiSan_Khac;
        private string _thietHai_hangHoa;
        private int _thietHai_MangLuoi_BTS;
        private int _thietHai_MangLuoi_Phido;
        private int _thietHai_MangLuoi_Acqui;
        private int _thietHai_MangLuoi_TiepDia;
        private double _thietHai_MangLuoi_Cap;
        private double _TongThietHai;
        private int _NguyenNhan_chuQuan;
        private int _NguyenNhan_khacQuan;
        private int _loi_quanNhan_SQ;
        private int _loi_quanNhan_QNCN;
        private int _loi_quanNhan_CSVQP;
        private int _loi_quanNhan_HDLD;
        private int _loi_quanNhan_CTV;
        private int _loi_dan;
        private int _DangVien;
        private int _DoanVien;
        private string _TInhCHat;
        private int _baocao_TapDoan;
        private int _baocao_CucDTHS;
        private int _baocao_TUxuLy;
        private double _KQ_Xulybandau;
        private string _KQ_Tien;
        private string _KQ_HinhThucKyLuat;
        private int _KQ_Tamgiam;
        private int _KQ_HinhPhat;
        private string _CanBoTheodoi;
        private string _otherText1;
        private string _otherText2;
        private string _otherText3;
        private string _otherText4;
        private string _otherText5;
        private string _otherText6;
        private string _otherText7;
        private string _otherText8;
        private int _otherInt1;
        private int _otherInt2;
        private int _otherInt3;
        private int _otherInt4;
        private int _otherInt5;
        private int _otherInt6;
        private double _otherInt7;
        private double _otherInt8;
        private DateTime _otherDatetime1;
        private DateTime _otherDatetime2;
        private DateTime _otherDatetime3;
        private DateTime _otherDatetime4;
        private DateTime _otherDatetime5;
        private DateTime _otherDatetime6;
        private DateTime _otherDatetime7;
        private DateTime _otherDatetime8;
        private int _CreatedByUser;
        private DateTime _CreatedDate;
        private int _UpdatedByUser;
        private DateTime _UpdatedDate;





        #endregion

        public int ModuleId
        {
            get
            {
                return _ModuleId;
            }
            set
            {
                _ModuleId = value;
            }
        }
        #region Constructors

        // initialization
        public VuViecInfo()
        {
        }

        #endregion

        #region Public Properties

        /// <summary>
        /// Gets and sets the Module Id
        /// </summary>
        public int id { get { return _id; } set { _id = value; } }
        public int Quy { get { return _Quy; } set { _Quy = value; } }
        public int Nam { get { return _Nam; } set { _Nam = value; } }
        public int Tuan { get { return _Tuan; } set { _Tuan = value; } }
        public int Stt { get { return _Stt; } set { _Stt = value; } }
        public int loaivuviec { get { return _loaivuviec; } set { _loaivuviec = value; } }
        public int tenCN { get { return _tenCN; } set { _tenCN = value; } }
        public int tongCT { get { return _tongCT; } set { _tongCT = value; } }
        public DateTime ngayBaoCao { get { return _ngayBaoCao; } set { _ngayBaoCao = value; } }
        public string tomTatNoiDung { get { return _tomTatNoiDung; } set { _tomTatNoiDung = value; } }
        public int Chet_SQ { get { return _Chet_SQ; } set { _Chet_SQ = value; } }
        public int chet_QNCN { get { return _chet_QNCN; } set { _chet_QNCN = value; } }
        public int chet_CNVQP { get { return _chet_CNVQP; } set { _chet_CNVQP = value; } }
        public int chet_HDLD { get { return _chet_HDLD; } set { _chet_HDLD = value; } }
        public int chet_CTV { get { return _chet_CTV; } set { _chet_CTV = value; } }
        public int chet_Dan { get { return _chet_Dan; } set { _chet_Dan = value; } }
        public int biThuong_SQ { get { return _biThuong_SQ; } set { _biThuong_SQ = value; } }
        public int biThuong_QNCN { get { return _biThuong_QNCN; } set { _biThuong_QNCN = value; } }
        public int biThuong_CNVQP { get { return _biThuong_CNVQP; } set { _biThuong_CNVQP = value; } }
        public int biThuong_HDLD { get { return _biThuong_HDLD; } set { _biThuong_HDLD = value; } }
        public int biThuong_HDDV { get { return _biThuong_HDDV; } set { _biThuong_HDDV = value; } }
        public int biThuong_CTV { get { return _biThuong_CTV; } set { _biThuong_CTV = value; } }
        public int biThuong_CTV_Khac { get { return _biThuong_CTV_Khac; } set { _biThuong_CTV_Khac = value; } }
        public int biThuong_Dan { get { return _biThuong_Dan; } set { _biThuong_Dan = value; } }
        public double taiChinh { get { return _taiChinh; } set { _taiChinh = value; } }
        public int taiSan_otoViettel { get { return _taiSan_otoViettel; } set { _taiSan_otoViettel = value; } }
        public int taiSan_otoDanSu { get { return _taiSan_otoDanSu; } set { _taiSan_otoDanSu = value; } }
        public int taiSan_Moto { get { return _taiSan_Moto; } set { _taiSan_Moto = value; } }
        public string taiSan_Khac { get { return _taiSan_Khac; } set { _taiSan_Khac = value; } }
        public string thietHai_hangHoa { get { return _thietHai_hangHoa; } set { _thietHai_hangHoa = value; } }
        public int thietHai_MangLuoi_BTS { get { return _thietHai_MangLuoi_BTS; } set { _thietHai_MangLuoi_BTS = value; } }
        public int thietHai_MangLuoi_Phido { get { return _thietHai_MangLuoi_Phido; } set { _thietHai_MangLuoi_Phido = value; } }
        public int thietHai_MangLuoi_Acqui { get { return _thietHai_MangLuoi_Acqui; } set { _thietHai_MangLuoi_Acqui = value; } }
        public int thietHai_MangLuoi_TiepDia { get { return _thietHai_MangLuoi_TiepDia; } set { _thietHai_MangLuoi_TiepDia = value; } }
        public double thietHai_MangLuoi_Cap { get { return _thietHai_MangLuoi_Cap; } set { _thietHai_MangLuoi_Cap = value; } }
        public double TongThietHai { get { return _TongThietHai; } set { _TongThietHai = value; } }
        public int NguyenNhan_chuQuan { get { return _NguyenNhan_chuQuan; } set { _NguyenNhan_chuQuan = value; } }
        public int NguyenNhan_khacQuan { get { return _NguyenNhan_khacQuan; } set { _NguyenNhan_khacQuan = value; } }
        public int loi_quanNhan_SQ { get { return _loi_quanNhan_SQ; } set { _loi_quanNhan_SQ = value; } }
        public int loi_quanNhan_QNCN { get { return _loi_quanNhan_QNCN; } set { _loi_quanNhan_QNCN = value; } }
        public int loi_quanNhan_CSVQP { get { return _loi_quanNhan_CSVQP; } set { _loi_quanNhan_CSVQP = value; } }
        public int loi_quanNhan_HDLD { get { return _loi_quanNhan_HDLD; } set { _loi_quanNhan_HDLD = value; } }
        public int loi_quanNhan_CTV { get { return _loi_quanNhan_CTV; } set { _loi_quanNhan_CTV = value; } }
        public int loi_dan { get { return _loi_dan; } set { _loi_dan = value; } }
        public int DangVien { get { return _DangVien; } set { _DangVien = value; } }
        public int DoanVien { get { return _DoanVien; } set { _DoanVien = value; } }
        public string TInhCHat { get { return _TInhCHat; } set { _TInhCHat = value; } }
        public int baocao_TapDoan { get { return _baocao_TapDoan; } set { _baocao_TapDoan = value; } }
        public int baocao_CucDTHS { get { return _baocao_CucDTHS; } set { _baocao_CucDTHS = value; } }
        public int baocao_TUxuLy { get { return _baocao_TUxuLy; } set { _baocao_TUxuLy = value; } }
        public double KQ_Xulybandau { get { return _KQ_Xulybandau; } set { _KQ_Xulybandau = value; } }
        public string KQ_Tien { get { return _KQ_Tien; } set { _KQ_Tien = value; } }
        public string KQ_HinhThucKyLuat { get { return _KQ_HinhThucKyLuat; } set { _KQ_HinhThucKyLuat = value; } }
        public int KQ_Tamgiam { get { return _KQ_Tamgiam; } set { _KQ_Tamgiam = value; } }
        public int KQ_HinhPhat { get { return _KQ_HinhPhat; } set { _KQ_HinhPhat = value; } }
        public string CanBoTheodoi { get { return _CanBoTheodoi; } set { _CanBoTheodoi = value; } }
        public string otherText1 { get { return _otherText1; } set { _otherText1 = value; } }
        public string otherText2 { get { return _otherText2; } set { _otherText2 = value; } }
        public string otherText3 { get { return _otherText3; } set { _otherText3 = value; } }
        public string otherText4 { get { return _otherText4; } set { _otherText4 = value; } }
        public string otherText5 { get { return _otherText5; } set { _otherText5 = value; } }
        public string otherText6 { get { return _otherText6; } set { _otherText6 = value; } }
        public string otherText7 { get { return _otherText7; } set { _otherText7 = value; } }
        public string otherText8 { get { return _otherText8; } set { _otherText8 = value; } }
        public int otherInt1 { get { return _otherInt1; } set { _otherInt1 = value; } }
        public int otherInt2 { get { return _otherInt2; } set { _otherInt2 = value; } }
        public int otherInt3 { get { return _otherInt3; } set { _otherInt3 = value; } }
        public int otherInt4 { get { return _otherInt4; } set { _otherInt4 = value; } }
        public int otherInt5 { get { return _otherInt5; } set { _otherInt5 = value; } }
        public int otherInt6 { get { return _otherInt6; } set { _otherInt6 = value; } }
        public double otherInt7 { get { return _otherInt7; } set { _otherInt7 = value; } }
        public double otherInt8 { get { return _otherInt8; } set { _otherInt8 = value; } }
        public DateTime otherDatetime1 { get { return _otherDatetime1; } set { _otherDatetime1 = value; } }
        public DateTime otherDatetime2 { get { return _otherDatetime2; } set { _otherDatetime2 = value; } }
        public DateTime otherDatetime3 { get { return _otherDatetime3; } set { _otherDatetime3 = value; } }
        public DateTime otherDatetime4 { get { return _otherDatetime4; } set { _otherDatetime4 = value; } }
        public DateTime otherDatetime5 { get { return _otherDatetime5; } set { _otherDatetime5 = value; } }
        public DateTime otherDatetime6 { get { return _otherDatetime6; } set { _otherDatetime6 = value; } }
        public DateTime otherDatetime7 { get { return _otherDatetime7; } set { _otherDatetime7 = value; } }
        public DateTime otherDatetime8 { get { return _otherDatetime8; } set { _otherDatetime8 = value; } }

        public int CreatedByUser
        {
            get
            {
                return _CreatedByUser;
            }
            set
            {
                _CreatedByUser = value;
            }
        }

        /// <summary>
        /// Gets and sets the Date when Created/Updated
        /// </summary>
        public DateTime CreatedDate
        {
            get
            {
                return _CreatedDate;
            }
            set
            {
                _CreatedDate = value;
            }
        }

        public int UpdatedByUser
        {
            get
            {
                return _UpdatedByUser;
            }
            set
            {
                _UpdatedByUser = value;
            }
        }

        public DateTime UpdatedDate
        {
            get
            {
                return _UpdatedDate;
            }
            set
            {
                _UpdatedDate = value;
            }
        }
        #endregion
        public void ResetValues()

        {
            Chet_SQ = 0;
            chet_QNCN = 0;
            chet_CNVQP = 0;
            chet_HDLD = 0;
            chet_CTV = 0;
            chet_Dan = 0;
            biThuong_SQ = 0;
            biThuong_QNCN = 0;
            biThuong_CNVQP = 0;
            biThuong_HDLD = 0;
            biThuong_HDDV = 0;
            biThuong_CTV = 0;
            biThuong_CTV_Khac = 0;
            biThuong_Dan = 0;
            taiSan_otoViettel = 0;
            taiSan_otoDanSu = 0;
            taiSan_Moto = 0;
            thietHai_MangLuoi_BTS = 0;
            thietHai_MangLuoi_Phido = 0;
            thietHai_MangLuoi_Acqui = 0;
            thietHai_MangLuoi_TiepDia = 0;
            thietHai_MangLuoi_Cap = 0;
            TongThietHai = 0;
            NguyenNhan_chuQuan = 0;
            NguyenNhan_khacQuan = 0;
            loi_quanNhan_SQ = 0;
            loi_quanNhan_QNCN = 0;
            loi_quanNhan_CSVQP = 0;
            loi_quanNhan_HDLD = 0;
            loi_quanNhan_CTV = 0;
            loi_dan = 0;
            DangVien = 0;
            DoanVien = 0;
            KQ_Xulybandau = 0;
            KQ_Tamgiam = 0;
            KQ_HinhPhat = 0;
            otherInt1 = 0;
            otherInt2 = 0;
            otherInt3 = 0;
            otherInt4 = 0;
            otherInt5 = 0;
            otherInt6 = 0;
            otherInt7 = 0;
            otherInt8 = 0;

        }

    }
}
